package com.springboot.astra.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.springboot.astra.bean.User;

import java.util.List;

public interface UserService {
    User getOneById(Integer id);
    User getOneByAccount(String id);
    List<User> getAll();
    IPage<User> selectPageVo(Page<User> page, String query);
    void insertUser(User user);
    void updateOneById(User user);
    void deleteOneById(Integer id);
}
